<nav class="mui-bar mui-bar-tab">
    <a class="mui-tab-item" ng-class="{true:'mui-active'}[active==1]" ui-sref="home">
        <span class="mui-icon mui-icon-home"></span>
        <span class="mui-tab-label">首页</span>
    </a>
    <a class="mui-tab-item" ng-class="{true:'mui-active'}[active==2]" ui-sref="product">
        <span class="mui-icon mui-icon-email"><span class="mui-badge">9</span></span>
        <span class="mui-tab-label">消息</span>
    </a>
    <a class="mui-tab-item" ng-class="{true:'mui-active'}[active==3]" ui-sref="cart">
        <span class="mui-icon mui-icon-navigate"></span>
        <span class="mui-tab-label">购物车</span>
    </a>
    <a class="mui-tab-item" ng-class="{true:'mui-active'}[active==4]" ui-sref="user">
        <span class="mui-icon mui-icon-gear"></span>
        <span class="mui-tab-label">设置</span>
    </a>
</nav>